<!DOCTYPE html>
<html lang="en">

    <head>
        <meta charset="UTF-8">
        <title>信息录入</title>
        <meta http-equiv="x-ua-compatible" content="ie=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
        <link rel="stylesheet" href="drive_information.css">
        <link rel="stylesheet" href="../public_css/public_header.css">

        <script src="../public/jquery.min.js"></script>
        <script src="../public/layer.js"></script>
        <script src="../public/laydate.js"></script>
        <script src="../js/order/info/yuejiao.js"></script>
    </head>

    <body>
        <header class=" public_header">

            <div class="public_header_return">
                <img src="../public_img/return.png" alt="" class="public_header_return" onclick="history.back(-1)">
                <p>约教信息</p>
            </div>
        </header>
        <section class="mainbody">
            <form class="information_collect">
                <span>姓名:</span>
                <input id="localStorage_teacher_name" class="message_input" disabled type="text">
                <br/>
                <span>电话:</span>
                <input id="localStorage_teacher_phone" class="message_input" disabled type="text">
                <br/>
                <span>教学科目:</span>
                <input id="yue_messages_type" class="message_input" disabled type="text">
                <br/>
                <span>接送地址:</span>
                <input id="address" class="message_input" type="text" onfocus="run_map()">
                <br/>
                <span>接送时间:</span>
                <input id="order_time" class="message_input" type="text" >
                <br/>

                <span>约教留言:</span>
                <textarea name="" rows="5" cols="1" id="yue_messages" placeholder="请输入您的留言内容 "></textarea>
                <br/>
                <input class="submit_final" type="button" value="付款">
            </form>
        </section>

        <script>
			laydate.render({
				elem: '#order_time',
				type: 'datetime'
			});


		function run_map(){
				window.location.href = "../map/map.html";
		}
		$(function(){
			var address = localStorage.map_address;
			if(address!=null){
				$('#address').val(address)
			}


		})
        </script>
    </body>

</html>
